package com.mf.entity.request.search;

import com.mf.annotation.SearchAnnotation;
import com.mf.entity.request.PagingRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * @Author: lmf
 * @Create: 2024/7/20 8:04
 * Description:
 */
@Getter
@Setter
public class UserPageListSearch extends PagingRequest {
    @SearchAnnotation(key = "name,user_name,email,phone")
    private String key;
    /**
     * 账号
     */
    @SearchAnnotation("eq")
    private String name;


    /**
     * 姓名
     */
    @SearchAnnotation("eq")
    private String userName;

    /**
     * 0女1男
     */
    @SearchAnnotation("eq")
    private Integer sex;

    /**
     * 邮箱
     */
    @SearchAnnotation("eq")
    private String email;

    /**
     * 手机号
     */
    @SearchAnnotation("eq")
    private String phone;

    private String startTime;
    private String endTime;

}
